<template>
<view>
    <u-tabs :list="tabList" @click="handleTab"></u-tabs>
            <!-- 授权弹窗 -->
        <s-auth-modal />
</view>
</template>
<script>
export default {
    name: "commissionList",
    data() {
        return {
            tabList: [
                {  name: "今日收益",  },
                {   name: "本月收益", },
                {   name: "累计收益", }
            ],
            current: 0
        };
    },
    methods: {
        handleTab(index) {
            this.current = index
            this.$emit("handleTab", index)
        }
    }
}
</script>

<style scoped lang="scss">

</style>
